/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.unal.satacredito.database.entity;

import com.google.code.morphia.annotations.Id;
import com.google.code.morphia.annotations.Reference;
import java.util.Date;
import org.bson.types.ObjectId;

/**
 *
 * @author migueldiaz
 */
public class ChangeLogBrand {
     @Id
    private ObjectId id;
    private Date date;
    @Reference
    private Administrator administrator;
    
    private Brand initialStatus;
    private Brand finalStatus;

    public ChangeLogBrand(){
    }
    
    public ChangeLogBrand(String id){
        this.id = new ObjectId(id);
    }
    
    public Administrator getAdministrator() {
        return administrator;
    }

    public void setAdministrator(Administrator administrator) {
        this.administrator = administrator;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Brand getFinalStatus() {
        return finalStatus;
    }

    public void setFinalStatus(Brand finalStatus) {
        this.finalStatus = finalStatus;
    }

    public ObjectId getId() {
        return id;
    }

    public Brand getInitialStatus() {
        return initialStatus;
    }

    public void setInitialStatus(Brand initialStatus) {
        this.initialStatus = initialStatus;
    }
    
}
